package pers.vic.practice.module.system.service;

import org.springframework.stereotype.Service;
import pers.vic.boot.base.service.BaseService;
import pers.vic.practice.module.system.mapper.SysDictTypeMapper;  
import pers.vic.practice.module.system.model.SysDictType;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description:字典类型表 Service
 * @author Vic.xu
 * @date: 2022-04-12 09:48
 */
@Service
public class SysDictTypeService{

    @Resource
    private SysDictTypeMapper mapper;

    public List<SysDictType> list(SysDictType lookup){
        return mapper.list(lookup);
    }

    public String findByCode(String code) {
        return mapper.findByCode(code);
    }
}
